<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
	  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
	  <title>TaxonTagger v1.0</title>
		<style>
      #loading-mask{position:absolute;left:0;top:0;width:100%;height:100%;z-index:20000;background-color:white;}
      #loading{position:absolute;left:42%;top:30%;padding:2px;z-index:20001;height:auto;}
      #loading img{margin-bottom:5px;}
      #loading .loading-indicator{background:white;color:#555;font:bold 13px tahoma,arial,helvetica;padding:10px;margin:0;text-align:center;height:auto;}
    </style>
	  <link rel="stylesheet" type="text/css" href="http://extjs.cachefly.net/ext-3.4.0/resources/css/ext-all.css" />
	  <link rel="stylesheet" type="text/css" href="http://extjs.cachefly.net/ext-3.4.0/resources/css/xtheme-gray.css" />
	  <link rel="stylesheet" type="text/css" href="resources/css/taxontagger.css" />
	</head>
<body>
	<div id="loading-mask"></div>
	<div id="loading">
		<div class="loading-indicator">
			<img src="resources/images/gbif.jpg" style="margin-right:8px;" align="absmiddle"/><br/>
			<img src="resources/images/loading.gif" style="margin-right:6px;" align="absmiddle"/>
			<span id="loading-msg">Loading TaxonTagger...</span>
		</div>
	</div>
	<script type="text/javascript" src="http://extjs.cachefly.net/ext-3.4.0/adapter/ext/ext-base.js"></script>
  <script type="text/javascript" src="http://extjs.cachefly.net/ext-3.4.0/ext-all.js"></script>
  <script type="text/javascript" src="resources/js/taxontagger-all.js"></script>
  <script type="text/javascript" src="resources/js/application.js"></script>
  <?php
	if (isset($_REQUEST['lang'])) {
		print '<script type="text/javascript" src="resources/languages/taxontagger.language.' . $_REQUEST['lang'] . '.js"></script>';
		print '<script type="text/javascript" src="resources/ext/locale/ext-lang-' . $_REQUEST['lang'] . '.js"></script>';
	} else {
		print '<script type="text/javascript" src="resources/languages/taxontagger.language.en.js"></script>';
		print '<script type="text/javascript" src="resources/ext/locale/ext-lang-en.js"></script>';
	}
  ?>

	<script type="text/javascript">
    var _gaq = _gaq || [];
    _gaq.push(['_setAccount', 'UA-18593842-1']);
    _gaq.push(['_trackPageview']);
  
    (function() {
      var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
      ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
      var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
    })();
  </script>  
</body>
</html>